package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.Admin;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author tangsy
 * @Description TODO
 * @date 2022/9/14 15:20
 * @Version 1.0
 */
@Repository
public interface AdminDao extends BaseDao<Admin> {

    List<Admin> findAll();

    Admin getByUsername(String username);
}
